<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2048 Game</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
    <div class="game-container">
        <h1>2048 </h1>
        <h2>这简直就是一个奇迹 作者：吴彬睿</h2> 
        <div class="score-container">
            <div class="score">Score: <span id="score-value">0</span></div>
            <button id="reset-button">刷新游戏</button>
        </div>
        <div class="clock-container">
            <div id="clock" style="text-align: center; margin-top: 20px;"></div>
        </div>
        <div class="timer-container">
            <div id="timer" style="text-align: center; margin-top: 20px;"></div>
        </div>
        <div class="grid-container">
            <div class="grid-cell" id="cell-0"></div>
            <div class="grid-cell" id="cell-1"></div>
            <div class="grid-cell" id="cell-2"></div>
            <div class="grid-cell" id="cell-3"></div>
            <div class="grid-cell" id="cell-4"></div>
            <div class="grid-cell" id="cell-5"></div>
            <div class="grid-cell" id="cell-6"></div>
            <div class="grid-cell" id="cell-7"></div>
            <div class="grid-cell" id="cell-8"></div>
            <div class="grid-cell" id="cell-9"></div>
            <div class="grid-cell" id="cell-10"></div>
            <div class="grid-cell" id="cell-11"></div>
            <div class="grid-cell" id="cell-12"></div>
            <div class="grid-cell" id="cell-13"></div>
            <div class="grid-cell" id="cell-14"></div>
            <div class="grid-cell" id="cell-15"></div>
            <div style="text-align: center; margin-top: 20px;">
                <button id="up-button">上</button>
                <button id="down-button">下</button>
                <button id="left-button">左</button>
                <button id="right-button">右</button>
            </div>
        </div>
    </div>
    <script src="{{ url_for('static', filename='script.js') }}"></script>
</body>
<script src="https://cdn.staticfile.net/translate.js/3.12.0/translate.js"></script>
<script>
translate.language.setLocal('chinese_simplified');
translate.service.use('client.edge'); 
translate.execute();
</script>
</html>